package org.springframework.beans.xgcd;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

@SuppressWarnings("deprecation")
public class LoadXml2Bean {

	@Test
	public void testSimpleLoad() {
		BeanFactory bf = new XmlBeanFactory(new ClassPathResource("xgcd-test.xml"));// java.io.FileNotFoundException
		bf.getBean("xgcdTestBean");
	}
}
